package com.kirk.cts.ui.view.navigator;

import javax.swing.*;
import java.awt.*;

/**
 * <p> NavigatorItem.java </p>
 *
 * @version 1.0.0
 * @Author kirkliu
 * @Date 2020-09-01 23:01
 * @Description 导航栏项目
 */
public class NavigatorItem {
    /**
     * 导航标题
     */
    private String title;
    /**
     * 导航图标
     */
    private Icon icon;
    /**
     * 组件
     */
    private Component comp;

    public NavigatorItem(String title, Icon icon, Component comp) {
        super();
        this.title = title;
        this.icon = icon;
        this.comp = comp;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Icon getIcon() {
        return icon;
    }

    public void setIcon(Icon icon) {
        this.icon = icon;
    }

    public Component getComp() {
        return comp;
    }

    public void setComp(Component comp) {
        this.comp = comp;
    }


}
